Add GtkTreeExpander
authorBenjamin Otte <otte@redhat.com>
Mon, 14 Oct 2019 02:31:20 +0000 (04:31 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 30 May 2020 23:26:45 +0000 (19:26 -0400)
commit7451e516195a756411a2f229b4c83c3d6716111b
tree2a790ed88b0d827b862eb4a697dc64a95a5d7bb9
parentea93e18081149511d049efaa8d2cb922082b3a10
Add GtkTreeExpander

This is a container widget that takes over all the duties of tree
expanding and collapsing.
It has to be a container so it can capture keybindings while focus is
inside the listitem.

So far, this widget does not allow interacting with it, but it shows the
expander arrow in its correct state.

Also, testlistview uses this widget now instead of implementing
expanding itself.
docs/reference/gtk/gtk4-docs.xml
docs/reference/gtk/gtk4-sections.txt
gtk/gtk.h
gtk/gtktreeexpander.c [new file with mode: 0644]
gtk/gtktreeexpander.h [new file with mode: 0644]
gtk/meson.build
tests/testlistview.c